package com.crb.smartcarddemo.http.RequestBean;

import android.os.Build;

import java.io.Serializable;
import java.util.UUID;


/**
 * @ClassName: Request
 * @Description: 请求基类
 * @Author: shinlooker
 * @Date: 2023/5/16 14:57
 */
public class Request implements Serializable {
    private String tsn = UUID.randomUUID().toString();
    private String timestamp = String.valueOf(System.currentTimeMillis());

    public String getTsn() {
        return tsn;
    }

    public void setTsn(String tsn) {
        this.tsn = tsn;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "Request{" +
                "tsn='" + tsn + '\'' +
                ", timestamp='" + timestamp + '\'' +
                '}';
    }
}
